// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PUR_RO
// * CreateDate    : 2014-06-05 18:30:28
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:28
// * LastChanger   : 2014-06-05 18:30:28
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class PurRoTable : TableInfo
    {
		public const string C_TableName = "PUR_RO";
		
		public const string C_ID = "ID";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_IS_ACTIVE = "IS_ACTIVE";
		public const string C_RO_NO = "RO_NO";
		public const string C_PO_ID = "PO_ID";
		public const string C_PO_NO = "PO_NO";
		public const string C_PUR_ARV_ID = "PUR_ARV_ID";
		public const string C_PUR_ARV_NO = "PUR_ARV_NO";
		public const string C_SUPPLIER_ID = "SUPPLIER_ID";
		public const string C_SUPPLIER_NAME = "SUPPLIER_NAME";
		public const string C_SUPPLIER_CODE = "SUPPLIER_CODE";
		public const string C_CONTACT_USER = "CONTACT_USER";
		public const string C_SUPPLIER_ADD = "SUPPLIER_ADD";
		public const string C_RETURN_DATE = "RETURN_DATE";
		public const string C_DELIVERY_AMOUNT = "DELIVERY_AMOUNT";
		public const string C_TOTAL_AMOUNT = "TOTAL_AMOUNT";
		public const string C_REMARK = "REMARK";
		public const string C_STATUS = "STATUS";
		
		public PurRoTable()
        {
            _tableName = "PUR_RO";
        }
		
		protected static PurRoTable _current;
        public static PurRoTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new PurRoTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE,"IsActive", false, typeof(int)));
            _current.Add(C_RO_NO, new ColumnInfo(C_RO_NO,"RoNo", false, typeof(string)));
            _current.Add(C_PO_ID, new ColumnInfo(C_PO_ID,"PoId", false, typeof(string)));
            _current.Add(C_PO_NO, new ColumnInfo(C_PO_NO,"PoNo", false, typeof(string)));
            _current.Add(C_PUR_ARV_ID, new ColumnInfo(C_PUR_ARV_ID,"PurArvId", false, typeof(string)));
            _current.Add(C_PUR_ARV_NO, new ColumnInfo(C_PUR_ARV_NO,"PurArvNo", false, typeof(string)));
            _current.Add(C_SUPPLIER_ID, new ColumnInfo(C_SUPPLIER_ID,"SupplierId", false, typeof(string)));
            _current.Add(C_SUPPLIER_NAME, new ColumnInfo(C_SUPPLIER_NAME,"SupplierName", false, typeof(string)));
            _current.Add(C_SUPPLIER_CODE, new ColumnInfo(C_SUPPLIER_CODE,"SupplierCode", false, typeof(string)));
            _current.Add(C_CONTACT_USER, new ColumnInfo(C_CONTACT_USER,"ContactUser", false, typeof(string)));
            _current.Add(C_SUPPLIER_ADD, new ColumnInfo(C_SUPPLIER_ADD,"SupplierAdd", false, typeof(string)));
            _current.Add(C_RETURN_DATE, new ColumnInfo(C_RETURN_DATE,"ReturnDate", false, typeof(DateTime)));
            _current.Add(C_DELIVERY_AMOUNT, new ColumnInfo(C_DELIVERY_AMOUNT,"DeliveryAmount", false, typeof(decimal)));
            _current.Add(C_TOTAL_AMOUNT, new ColumnInfo(C_TOTAL_AMOUNT,"TotalAmount", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }
		
		public ColumnInfo RO_NO
        {
            get { return this[C_RO_NO]; }
        }
		
		public ColumnInfo PO_ID
        {
            get { return this[C_PO_ID]; }
        }
		
		public ColumnInfo PO_NO
        {
            get { return this[C_PO_NO]; }
        }
		
		public ColumnInfo PUR_ARV_ID
        {
            get { return this[C_PUR_ARV_ID]; }
        }
		
		public ColumnInfo PUR_ARV_NO
        {
            get { return this[C_PUR_ARV_NO]; }
        }
		
		public ColumnInfo SUPPLIER_ID
        {
            get { return this[C_SUPPLIER_ID]; }
        }
		
		public ColumnInfo SUPPLIER_NAME
        {
            get { return this[C_SUPPLIER_NAME]; }
        }
		
		public ColumnInfo SUPPLIER_CODE
        {
            get { return this[C_SUPPLIER_CODE]; }
        }
		
		public ColumnInfo CONTACT_USER
        {
            get { return this[C_CONTACT_USER]; }
        }
		
		public ColumnInfo SUPPLIER_ADD
        {
            get { return this[C_SUPPLIER_ADD]; }
        }
		
		public ColumnInfo RETURN_DATE
        {
            get { return this[C_RETURN_DATE]; }
        }
		
		public ColumnInfo DELIVERY_AMOUNT
        {
            get { return this[C_DELIVERY_AMOUNT]; }
        }
		
		public ColumnInfo TOTAL_AMOUNT
        {
            get { return this[C_TOTAL_AMOUNT]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		
		
	}
}

